package org.wesc.boot.secure.exception;

import org.apache.shiro.authc.AuthenticationException;

/**
 * Token过期抛出这个
 * @author Wesley
 */
public class TokenTimeoutException extends AuthenticationException {

    public static final String MESSAGE = "token已失效";

    private static final long serialVersionUID = -8313101744886192005L;

    public TokenTimeoutException() {
        super(MESSAGE);
    }

    public TokenTimeoutException(Throwable cause) {
        super(MESSAGE, cause);
    }
}
